home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
datatypes
/
binarydt
/
makefile
< prev
next >
Wrap
Makefile
|
1996-04-07
|
2KB
|
98 lines
#
# $PROJECT: binary.datatype
#
# $VER: Makefile 39.1 (19.03.95)
#
# by
#
# Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
#
# (C) Copyright 1995
# All Rights Reserved !
#
# $DESCRIPTION:
#
# If you want to recompile the datatype you have to do some initial work, to
# run this makefile !
# First you must have installed the ixemul.library and the gnu make utility !
# Second you have to set the VERSION,REVISION variables (In my environment it's
# automatically set). Then you have to install the include makefiles from misc/
# to gnu:share/gmk/. After this you need a assign called objs: to hold all
# object files !
# Now you can run make from this directory !
#
# $HISTORY:
#
# 19.03.95 : 039.001 : initial
#
VERSTR = $(VERSION).$(REVISION)
NAME = binary
SHNAME = bdt
SHORT = $(NAME).datatype -> displays any binary file
PLACE = util/dtype
README = Readme
RELEASE = $(NAME)dt_$(VERSTR).lha
RELEASEPAT = $(NAME)dt $(NAME)dt.info
##############################################################################
#
# just call the makefile in source for each cpu in CPUTOMAKE
#
CPUTOMAKE = 000 \
020
##############################################################################
#
# docs and guides
#
AUTODOCS = doc/$(NAME)_dtc.doc
GUIDE = help/$(NAME)_dtc
##############################################################################
#
# source
#
SRCS = source/dispatch.c
all:: cpuversions
cpuversions::
-@for i in $(CPUTOMAKE); \
do \
(cd source; echo "making 68$$i version of $(NAME).datatype"; \
make LIBSDEST='/Classes/datatypes/$(NAME).datatype.'$$i \
SCOPTIMIZE='OPT OPTTIME CPU=68'$$i \
OBJDIR='/objs/$(SHNAME)/rls'$$i \
DEBUG='' ) ; \
done
documentation:: $(AUTODOCS) $(GUIDE)
include /gnu/share/gmk/autodoc.mk
release: cpuversions documentation $(RELEASE)
include /gnu/share/gmk/release.mk
#
# convert autodoc to an amigaguide
#
$(GUIDE) : $(AUTODOCS)
(cd doc; c:swtools/makexref $(<F) to t:binarydt.xref category TEMP NOICON)
(c:swtools/makexref include to t:binarydtinc.xref category TEMP Path AG:OtherInc/ NOICON)
c:swtools/loadxref t:binarydt.xref t:binarydtinc.xref
c:swtools/xrefconvert FROM $(AUTODOCS) TO $(@D) VERBOSE
c:swtools/expungexref category TEMP
$(GUIDE) : $(HEADER)